package com.stox.repository;

import java.util.List;

import com.stox.model.entity.ExchangeEntity;

public interface ExchangeRepository {
	
	public long count();

	public List<ExchangeEntity> findAll();
	
	public List<ExchangeEntity> findByCountryCode(String countryCode);
	
	public ExchangeEntity save(ExchangeEntity exchange);
	
	public ExchangeEntity saveAndFlush(ExchangeEntity exchange);
	
	public ExchangeEntity findOne(String code);
	
}
